/**
 * 
 */
package com.jrh.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author IBM 2012-7-18 下午8:00:03
 */
public class Product {

    private Long               id;
    private Long               categoryId;
    private Long               brandId;
    private Long               productSetId;

    private String             categoryName;
    private String             brandName;
    private String             productSetName;

    private String             name;
    private String             code;

    private BigDecimal         originalPrice;
    private BigDecimal         price;

    private String             imgUrl;
    private Date               gmtModified;
    private String             descn;
    private Long               favourite;
    private Long               comments;
    private String             status;
    private String             recommended;
    private Integer            sort;

    private List<FeatureValue> featureValueList;
    private List<ImgAd>        imgAds;          // 广告图片
    private List<Feature>      featureList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getProductSetId() {
        return productSetId;
    }

    public void setProductSetId(Long productSetId) {
        this.productSetId = productSetId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getDescn() {
        return descn;
    }

    public void setDescn(String descn) {
        this.descn = descn;
    }

    public Long getFavourite() {
        return favourite;
    }

    public void setFavourite(Long favourite) {
        this.favourite = favourite;
    }

    public Long getComments() {
        return comments;
    }

    public void setComments(Long comments) {
        this.comments = comments;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRecommended() {
        return recommended;
    }

    public void setRecommended(String recommended) {
        this.recommended = recommended;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<FeatureValue> getFeatureValueList() {
        return featureValueList;
    }

    public void setFeatureValueList(List<FeatureValue> featureValueList) {
        this.featureValueList = featureValueList;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getProductSetName() {
        return productSetName;
    }

    public void setProductSetName(String productSetName) {
        this.productSetName = productSetName;
    }

    public List<ImgAd> getImgAds() {
        return imgAds;
    }

    public void setImgAds(List<ImgAd> imgAds) {
        this.imgAds = imgAds;
    }

    public List<Feature> getFeatureList() {
        return featureList;
    }

    public void setFeatureList(List<Feature> featureList) {
        this.featureList = featureList;
    }

    @Override
    public String toString() {
        return "Product [id=" + id + ", categoryId=" + categoryId + ", brandId=" + brandId + ", productSetId="
               + productSetId + ", name=" + name + ", code=" + code + ", originalPrice=" + originalPrice + ", price="
               + price + ", imgUrl=" + imgUrl + ", descn=" + descn + ", favourite=" + favourite + ", comments="
               + comments + ", status=" + status + ", recommended=" + recommended + ", sort=" + sort
               + ", featureValueList=" + featureValueList + "]";
    }

}
